package com.DHH.Service.Api;

import com.DHH.Dto.Message;
import com.DHH.Entity.Base.BaseUser;
import com.DHH.Entity.Capital.CapitalSecurityGivebackRecord;
import com.DHH.Entity.Order.OrderInfo;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;

/**
 * Created by 汪玉东 on 2017/8/7.
 */
@Service
public interface ApiOrderServices {
    Message insert(String did, String longitude, String latitude, BaseUser baseUser);
    //订单 停车 临时停车
    Message updateOrderSettlement(OrderInfo orderInfo, String finshType);
    //订单完成
    Message updateOrderComplete(OrderInfo orderInfo);

    //订单完成
    Message updateOrderComplete(OrderInfo orderInfo,BaseUser user);


    Message updateDepositComplete(CapitalSecurityGivebackRecord capitalSecurityGivebackRecord,BaseUser baseUser);

    //订单  临时停车 开锁(继续骑行)
    Message updateOrderKeepOn(OrderInfo orderInfo);
}
